<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=11" />
    <title>{{product}}</title>
    <link rel="icon" href="data:image/jpeg;base64,{{favicon}}">
    <link rel="stylesheet" type="text/css" href="/static/SourceHanSansCNNormalFont/fontblock.css" />
    <style>
        body {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100vh;
            font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "PingFang SC","Microsoft YaHei", "sans-serif";
            overflow: hidden;
        }

        .box {
            width: 100%;
            height: 100%;
        }

        iframe {
            margin: 0;
            padding: 0;
            border: 0;
            font-size: 100%;
            font: inherit;
            vertical-align: baseline;
        }
       .app-login-iframe {
            position: relative;
            height: 100%;
            width: 100%;
        }
    </style>
</head>

<body>
    <div class="box">
        <iframe
            ref={ref as any}
            class="app-login-iframe"
            src={{url}}
        ></iframe>
    </div>
</body>

</html>
